package com.sdweizan.sdk.bytedance.bean.login;

import com.sdweizan.sdk.bytedance.bean.BdBaseRequest;
import com.sdweizan.sdk.bytedance.constants.BdConstants;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class BdCode2SessionRequest implements BdBaseRequest {
  private String appid;
  private String secret;
  private String anonymousCode;
  private String code;

  @Override
  public String requestUri() {
    return BdConstants.API_HOST + "/api/apps/v2/jscode2session";
  }
}
